package com.guigu.www.service.Impl;

import com.guigu.www.dao.FmMapper;
import com.guigu.www.pojo.Fm;
import com.guigu.www.service.FmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FmServiceImpl implements FmService {
    @Autowired
    private FmMapper fmMapper;
    @Override
    public Fm queryAll() {
        return fmMapper.queryAll();
    }

    @Override
    public int xg(Fm fm) {
        return fmMapper.updateByPrimaryKey(fm);
    }
}
